package com.sailorj.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages = {"com.sailorj"})
@MapperScan("com.sailorj.mapper")
@EnableAsync//异步调用
public class Application {
    public static void main(String[] args) {
         SpringApplication.run(Application.class,args);
    }
}
